WPForms\Integrations\Stripe\Process D

Total Complexity 158
Dependencies 5
Dependents 1
Total lines 1,182
Lines of code 529
Logical lines of code 310
Comment lines 411
Methods 34
Properties 9

Methods 34

Method Rating Maintainability Complexity Lines of code
process_payment_single()
A
47 13 31
process_payment_subscription()
A
48 11 32
prepare_payment_meta()
A
48 9 32
is_submitted_payment_data_corrupted()
A
48 8 33
update_credit_card_field_value()
A
55 8 16
is_card_field_visibility_ok()
S
57 7 17
get_entry_errors()
S
57 7 16
process_email()
S
57 6 18
is_recurring_settings_ok()
S
58 6 15
display_error()
S
58 6 15
process_legacy_payment_subscription()
S
58 6 14
payment_single_map_address()
S
59 6 13
process_entry()
S
52 5 26
process_payment_saved()
S
47 4 38
map_address_field()
S
55 5 19
prepare_payment_data()
S
55 4 19
get_customer_email()
S
60 4 14
process_card_error()
S
62 4 12
process_api_error()
S
58 3 17
is_process_entry_error()
S
63 4 10
process_payment()
S
64 4 10
process_entry_data()
S
59 3 15
log_error()
S
59 3 14
get_customer_name()
S
63 3 11
get_payment_title()
S
65 3 11
process_subscription()
S
63 3 10
get_payment_type()
S
66 3 9
is_subscription_plan_valid()
S
78 2 3
bypass_captcha()
S
73 2 6
is_api_errors()
S
66 2 9
hooks()
S
62 1 10
is_rate_limit_ok()
S
81 1 3
get_base_subscription_args()
S
68 1 7
init()
S
77 1 4